<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <h1>hello: 我是index.hstml</h1>

  <script src="js/axios.js"></script>
  <script>
    axios.get('/api/login').then(res => {
      console.log(res, 'res')
    })
  </script>
</body>

</html>